home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Utilities / Ph 1.1.1 / Lib / rpp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-28  |  1.1 KB  |  48 lines  |  [TEXT/MPS ]

  1. /*______________________________________________________________________
  2.  
  3.     rpp.h - Report Printing Module Interface.
  4.     
  5.     Copyright © 1988-1991 Northwestern University.
  6. _____________________________________________________________________*/
  7.  
  8. #ifndef __rpp__
  9. #define __rpp__
  10.  
  11. typedef void (*rpp_UpdateAll)(void);
  12.  
  13. typedef struct rpp_PrtBlock {
  14.     THPrint                hPrint;
  15.     short                    fontNum;
  16.     short                    fontSize;
  17.     short                    topMargin;
  18.     short                    botMargin;
  19.     short                    leftMargin;
  20.     short                    rightMargin;
  21.     Boolean                reverseOrder;
  22.     Boolean                header;
  23.     unsigned char        *title;
  24.     short                    titleSep;
  25.     short                    titleFont;
  26.     short                    titleStyle;
  27.     short                    titleSize;
  28.     unsigned char        *titleTmpl;
  29.     unsigned char        *docName;
  30.     short                    dlogID;
  31.     short                    tabConID;
  32.     short                    emptyPageRangeID;
  33.     short                    ditlID;
  34.     short                    sizeRangeID;
  35.     short                    marginsTooBigID;
  36.     short                    truncateRightID;
  37.     short                    truncateBottomID;
  38.     short                    minFontSize;
  39.     short                    maxFontSize;
  40.     Boolean                menuPick;
  41.     rpp_UpdateAll        updateAll;
  42. } rpp_PrtBlock;
  43.  
  44. extern OSErr rpp_Print (Handle repHandle, Boolean printOne, rpp_PrtBlock *p);
  45. extern OSErr rpp_StlDlog (rpp_PrtBlock *p, Boolean *canceled);
  46.  
  47. #endif
  48.